<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">

    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
<style type="text/css">


ul#nav {

list-style-type: none;

margin: 0;

padding: .5em 0;

border-top: 2px solid #003B62;

}

.button {
border:1x solid #ffffff;    /*---테두리 정의---*/
background-Color:#97C5F7;   /*--백그라운드 정의---*/
font:12px 굴림;      /*--폰트 정의---*/
font-weight:bold;   /*--폰트 굵기---*/
color:#ffffff;    /*--폰트 색깔---*/
width:130;height:30;  /*--버튼 크기---*/
}

ul#nav li a{

display: block;

width: 90px;

color: #FFF;

padding: 1px;

background-color: #003B62;

text-align: center;

text-decoration: none;

border: 2px outset;

}


ul#nav li a:hover{

color: #FFF;

background-color: #87AEC5;

border: 2px inset;

}


ul#nav .back { float: left; }

ul#nav .continue { float: right; }


</style>
	
	<script>
	function showPlan(){
	document.getElementById("showplan").innerHTML
	= "";

	}
	</script>
  </head>

  <body>
    <table border ="0">
    <tbody>
    <tr>
    	<s:if test="#session.loginid == null">
		<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/LoginForm.action"/>">ログイン</a></td>
    	</s:if>
    	<s:else>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">

    	<input type="button" value="ユーザ情報修正" onclick="javascript:location.href='<s:url value="/member/memberEditForm.action"/>';" class="button" />

    	
    	</td>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<input type="button" value="休暇登録" onclick="javascript:location.href='<s:url value="/plan/planWriteForm.action"/>';" class="button" />
    	</td>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<input type="button" value="休暇一覧" onclick="javascript:location.href='<s:url value="/plan/planMonthly.action"/>';" class="button" />
    	</td>
</tr>
<tr>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<input type="button" value="休暇書表示" onclick="javascript:location.href='<s:url value="/plan/planMonthly.action"/>';" class="button" />
		</td>
</tr>
<tr>
		<td align="center" style="width: 150; background-color: efefef;">
		<input type="button" value="ログアウト" onclick="javascript:location.href='<s:url value="/member/memberLogout.action"/>';" class="button" />
    	</td>
         	</s:else>

    </tr>
    </tbody>
    </table>
  </body>
</html>
